package com.yaoq.strategy.improve;

/**
 * @ClassName WildDuck
 * @Description TODO
 * @Author yaoqiang
 * @Date 2020/9/4 17:14
 * @Version 1.0
 */
public class WildDuck extends Duck {

    public WildDuck() {
        flyBehavior = new GoodFlyBehavior();
    }

    public void display() {
        System.out.println("这是野鸭");
    }
}
